package com.xidian.zhiancloud.model.syset;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xidian.zhiancloud.util.api.Excel;
import com.xidian.zhiancloud.util.api.Excel.Type;
import lombok.Data;

import java.util.Date;

@Data
@TableName(value = "t_user")
public class SysUser {
	@Excel(name = "工号")
	private Long id;
	private Long companyid;
	private String username;
	@Excel(name = "真实姓名")
	private String  name;
	@Excel(name = "手机号码")
	private String  phone;
	
	private String  orgids;
	@TableField(exist = false)
	@Excel(name = "部门")
	private String  orgname;
	private String  departids;
	@TableField(exist = false)
	private String  departname;
	private String  jobids;
	@TableField(exist = false)
	@Excel(name = "职位")
	private String  jobname;
	private String  roleids;
	@TableField(exist = false)
	private String  rolename;
	@Excel(name = "专业")
	private String  major;  //专业
	private String  jobnum;
	@Excel(name = "身份证号码")
	private String  idnum;   //身份证号码
	@Excel(name = "年龄")
	private Integer age;
	@Excel(name = "用户性别", readConverterExp = "1=男,2=女")
	private Integer gender;   //性别
	@Excel(name = "邮箱地址")
	private String  email;
	@Excel(name = "入职时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", type = Type.EXPORT)
	private Date    entrydatetime;
	private Date    createtime;
	private Date    updatetime;
//	private Integer leaduserid;//部门负责人ID


}
